using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WPCoco.Tasks
{
    public class EaseCicle : EaseTask
    {
        public EaseCicle(FiniteTime task, float waves)
            : base(task, new EaseCicleFunction(waves))
        {
            this.waves = waves;
        }

        readonly float waves;

        public override Task Clone()
        {
            return new EaseCicle((FiniteTime)InnerTask.Clone(), waves);
        }

        public override Task Reverse()
        {
            return new EaseCicle((FiniteTime)InnerTask.Reverse(), waves);
        }
    }
}
